package lab02.test11;

public class   Test_11 {
    public static void main(String[] args) {
        System.out.println("矩形：");
       Printx re=new Rectangle(5,4);
       re.printMyWay();

        System.out.println("\n"+"正方形：");
       Square sq=new Square();
       sq.grow=5;
       sq.wide=5;
       sq.printMyWay();

    }
}
